package com.example.student.mapper;

import com.example.student.pojo.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {

    @Select("select * from admin where username=#{username} and password=#{password}")
    Admin login(String username, String password);
}
